CozyBlock\RestApi\Controllers\V1\BlockController S

Total Complexity 23
Dependencies 4
Dependents 0
Total lines 365
Lines of code 293
Logical lines of code 99
Comment lines 25
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
cozy_get_posts_collection()
A
37 7 86
register_routes()
S
42 2 77
cozy_get_sticky_posts()
S
48 3 34
get_popular_comments()
S
54 3 21
get_popular_tags()
S
56 3 19
get_post_categories()
S
57 2 17
get_related_posts()
S
52 1 27
get_post_views()
S
70 1 6
get_post_comments()
S
71 1 6